package com.mayuhao.studentmanage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mayuhao.studentmanage.entity.CssStuChoose;
import com.mayuhao.studentmanage.entity.CssStudent;
import com.mayuhao.studentmanage.entity.CssStudentVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 马宇豪
 * @since 2022-10-26
 */
public interface ICssStudentService extends IService<CssStudent> {


    Page<CssStudentVO> findPage(Integer pageNum, Integer pageSize, String searchId, String searchName);


    Page<CssStudentVO> findAllPage(Integer pageNum, Integer pageSize, String searchId, String searchName);

    void export(HttpServletResponse response) throws UnsupportedEncodingException;

    void imp(MultipartFile file);

    void hasExport(HttpServletResponse response) throws UnsupportedEncodingException;

    void hasImp(MultipartFile file);

    boolean removeId(Integer id);

    boolean removeBatchIds(List<Integer> ids);

    boolean savePerson(CssStuChoose cssStuChoose);

    boolean updatePerson(CssStuChoose cssStuChoose);
}
